/* 问题详情页 */
.content {
  background: #fff;
}
.bar-box {
  box-sizing: border-box;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 100%;

  .bar-left,
  .bar-right {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    height: 100%;

    img {
      width: 1.45rem;
      height: 1.45rem;
    }

    a {
      margin: 0 0.5rem;
      color: #5f646e;
    }
  }

  .searchs {
    flex: 1;
    margin: 0 0.5rem;
  }

  .bar-right img {
    margin-right: 0.5rem;
  }
}

.nav-box {
  .ask-button {
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #fff;
    background: #0894ec;
  }
}

.tab-nav {
  position: sticky;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  // align-items: center;
  top: 0;
  left: 0;
  z-index: 99;
  padding: 0.5rem 4%;
  background: #fff;
  &::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    border-top: 1px solid #e7e7e7;
    // transform-origin: 50% 100%;
    // transform: scaleY(.5);
  }
  span {
    font-size: 1rem;
    flex: 1;
    padding-right: 0.75rem;
  }
}

.inner-content {
  padding: 4%;
  p {
    margin: 0;
  }
  img {
    width: 100%;
  }
}


/* 提问页面样式 */
.question-header {
  .bar-box {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.75rem;
    a {
      color: inherit;
    }
  }
}

.question {
  .tab-nav {
    padding: 0 4%;
    .search-input {
      width: 100%;
      input {
        height: 2.5rem;
        border: none;
        font-size: 0.75rem;
      }
    }
  }
  .question-list {
    display: none;
    margin: 0;
    ul:before {
      content: '';
      height: 0;
      background: #fff;
    }
  }
}